package cn.hema.Client;

import cn.hema.model.Borrower;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import java.util.List;

@Slf4j
@Component
public class BorrowerServiceFallback implements BorrowerServiceClient {
    @Override
    public Borrower getBorrower( Long id){
        log.info("getBorrower callback");
        return null;
    }
    @Override
    public List<Borrower> getAllBorrowers(){
        log.info("getAllBorrowers callback");
        return null;
    }
    @Override
    public void createBorrower(Borrower borrower){
        log.info("createBorrower callback");
    }
    @Override
    public void updateBorrower(Long id, Borrower borrower){
        log.info("updateBorrower callback");
    }
    @Override
    public void deleteBorrower(Long id){
        log.info("deleteBorrower callback");
    }
}
